package com.kh.samr.entity.expert;

import com.kh.samr.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 期刊论文信息
 *
 * @author Harry
 * @date 2020/12/28
 */
@ApiModel(description = "期刊论文信息")
@Table(name = "ep_journal_these")
@EqualsAndHashCode(callSuper = true)
@Entity
@Data
@AllArgsConstructor
@NoArgsConstructor
public class JournalThese extends BaseEntity {

	private static final long serialVersionUID = -3192170215725000419L;

	/**
	 * 期刊名称
	 */
	@ApiModelProperty(value = "期刊名称", readOnly = true)
	@Column(length = 300)
	private String journalName;

	/**
	 * 期刊类型
	 */
	@ApiModelProperty(value = "期刊类型", readOnly = true)
	@Column(length = 50)
	private String journalType;

	/**
	 * 论文唯一标识
	 */
	@ApiModelProperty(value = "论文唯一标识", readOnly = true)
	@Column(length = 100)
	private String thesisId;

	/**
	 * 论文标题
	 */
	@ApiModelProperty(value = "论文标题", readOnly = true)
	@Column(length = 1000)
	private String title;

	/**
	 * 发表日期
	 */
//	@ApiModelProperty(value = "发表日期", readOnly = true, example = "yyyy-MM-dd")
//	@Temporal(TemporalType.DATE)
//	@DateTimeFormat(pattern = "yyyy-MM-dd")
//	@JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd")
	@ApiModelProperty(value = "发表日期", readOnly = true)
	private String publicationDate;

	/**
	 * 关键字
	 */
	@ApiModelProperty(value = "关键字", readOnly = true)
	private String keywords;

	/**
	 * 收录情况
	 */
	@ApiModelProperty(value = "收录情况", readOnly = true)
	@Column(length = 50)
	private String journalsSituation;
}
